package com.itheima.anli;

public class Test {

    public static void main(String[] args) {
        //抽象类不能被 创建对象
/*        Animal animal = new Animal();
        animal.drink();
        animal.eat();*/
      /*  Dog dog = new Dog();
        dog.eat();
        dog.drink();
*/
        Cat cat = new Cat();
        cat.eat();
        cat.drink();


        HaShiQi haShiQi = new HaShiQi();
        haShiQi.drink();
        haShiQi.eat();
    }
}
